\name{classQual}
\alias{classQual}
\title{Quality of A Classification}
\description{
  Calsulates the quality of a classification using a result data frame from \code{predict} function.
}
\usage{
classQual(dataFrame, dataset)
}
\arguments{
  \item{dataFrame}{a result data frame from \code{predict} function.}
  \item{dataset}{a data frame to test}
}
\details{
  The function returns the quality of a classification. It would be a number between 0 and max number of rows of dataset argument. The function simply sums up the probability of assigning an example to the class that an example should be assigned.
}
\keyword{quality}
\keyword{classification}
